package com.wowangz.cms.systemmanage.imrecord.service;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.wowangz.cms.syscore.exception.ServiceException;
import com.wowangz.cms.syscore.service.BaseService;

public class ImUserRoleService extends BaseService {

	private Logger logger = LoggerFactory.getLogger(ImUserRoleService.class);
	
	public List<String> getAllTranslator(){
		
		List<String> translatorids = null;
		
		try {
			
			translatorids = this.getSqlSession().selectList("ImRecord.queryalltranslatorid");
			
		} catch (Exception e) {
			e.printStackTrace();
			throw new ServiceException(e.getMessage());
		}
		
		return translatorids;
	}
}
